using Commons.Models.Settings.Dtos.Functions;
using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;

namespace Commons.Models.Settings.Dtos.TradeValues
{
	public class UserStatTradeValueDto : TradeValueDto
	{
		[XmlAttribute(AttributeName = "xp", Type = typeof(int))]
		public int? Xp { get; set; }

		[XmlAttribute(AttributeName = "lifes", Type = typeof(int))]
		public int? Lifes { get; set; }

		[XmlAttribute(AttributeName = "credits", Type = typeof(int))]
		public int? Credits { get; set; }

        [XmlAttribute(AttributeName = "floor", Type = typeof(int))]
        public int? Floor { get; set; }

        [XmlAttribute(AttributeName = "score", Type = typeof(int))]
        public int? Score { get; set; }

        [XmlElement(ElementName = "function", Namespace = "http://www.ibeltran.com/schema/game/function")]
		public FunctionDto Function { get; set; }
	}
}
